from fastapi import APIRouter
from src.api.models import PlanningRequest, PlanningResult, StandardResponse

router = APIRouter()


@router.post("/", response_model=StandardResponse[PlanningResult])
async def planning(request: PlanningRequest):
    # For now, just return a mock response
    mock_result = PlanningResult(text="这是agent生成的完整方案...")
    return StandardResponse(result=mock_result)
